import http from "@/utils/http"

export const login = options => {
  return http.post("/user/login", {
    ...options,
  })
}

export const register = options => {
  return http.post("/user/register", {
    ...options,
  })
}
